<div class="preview-container">
  <iframe
    [hidden]="!html"
    title="Mjml"
    [style]="{
          width: '100%',
          height: '99.5%',
          border: 'none',
          boxSizing: 'border-box',
        }"
  ></iframe>
  <ng-template *ngIf="!html">
    <p>Loading preview...</p>
  </ng-template>
</div>
